#!/usr/bin/python
# -*- encoding: utf-8 -*-
'''
@File    : pyinstaller.py
@Desc    : 
@Version : 1.0
@Author  : echohelper 
@Email   : echohelper@qq.com
@WebSite : www.github.com/echohelper
@Time    : 2021/05/06 11:48:51
'''
# Start typing your code from here


import os
import PyInstaller

#打包, main函数只在一个py里面, 依赖关系在main的import里面会自动关联构建;


if __name__ == '__main__':
    from PyInstaller.main import run
    opts=['shuo_main.py','-F','-w','--icon=logo.ico']
    run(opts)